package org.mzyyn.qr.service.auction;

import org.mzyyn.qr.entity.AuctionOrderPO;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 拍卖订单表 服务类
 * </p>
 *
 * @author lipeng
 * @since 2024-09-24
 */
public interface AuctionOrderService extends IService<AuctionOrderPO> {
    /**
     * @descrition  添加订单
     * @author lipeng
     * @date 2024/10/8
     * @param uuid
     * @param goodsId
     * @param cjPrice
     * @return void
     */
    void addOrder(String uuid,Long goodsId,Long cjPrice);

    /**
     * 通过商品id获取订单
     * @param goodsId
     * @return
     */
    AuctionOrderPO getOrderByGoodsId(Long goodsId);
}
